<?php
/**
 * 修改用户呢称和头像
 */
require_once dirname(__DIR__)."/login_filter.php";
use app\cls\tom\Response;
use app\cls\tom\SysResource;
use app\cls\tom\Tools;
use app\model\HomePage;
//用户uuid
$PATH="test";
$uuid=$Auth['uuid'];
$suffix=rand(1,5);
if($PATH=="test"){
    $user_key=REDIS_PREFIX."test_user_info_replace_".$uuid;
    $duilie_key1 = REDIS_PREFIX."test_user_info_replace1";//这是入统计队列的key
    $duilie_key2 = REDIS_PREFIX."test_user_info_replace2";//这是入统计队列的key
    $duilie_key3 = REDIS_PREFIX."test_user_info_replace3";//这是入统计队列的key
    $duilie_key4 = REDIS_PREFIX."test_user_info_replace4";//这是入统计队列的key
    $duilie_key5 = REDIS_PREFIX."test_user_info_replace5";//这是入统计队列的key
}else if($PATH=="no_test"){
    $user_key=REDIS_PREFIX."user_info_replace_".$uuid;
    $duilie_key1 = REDIS_PREFIX."user_info_replace1";//这是入统计队列的key
    $duilie_key2 = REDIS_PREFIX."user_info_replace2";//这是入统计队列的key
    $duilie_key3 = REDIS_PREFIX."user_info_replace3";//这是入统计队列的key
    $duilie_key4 = REDIS_PREFIX."user_info_replace4";//这是入统计队列的key
    $duilie_key5 = REDIS_PREFIX."user_info_replace5";//这是入统计队列的key
}
//实例化redis
$redis = SysResource::getRedis();
$dui1=$redis->lRange($duilie_key1,0,-1);
$dui2=$redis->lRange($duilie_key2,0,-1);
$dui3=$redis->lRange($duilie_key3,0,-1);
$dui4=$redis->lRange($duilie_key4,0,-1);
$dui5=$redis->lRange($duilie_key5,0,-1);
var_dump($dui1);
echo "\n";
var_dump($dui2);
echo "\n";
var_dump($dui3);
echo "\n";
var_dump($dui4);
echo "\n";
var_dump($dui5);